package com.qq.afterSaleSystem.entity;

import java.util.Date;

public class Apply {
    //id
    private Integer id;
    //配件名称
    private String partsName;
    //申请时间
    private Date time;
    //送修人
    private String proposer;
    //维修车辆id
    private Integer carId;
    //状态
    private Integer state;
    //维修车辆信息类
    private ShopMaintain cmt;

    public ShopMaintain getCmt() {
        return cmt;
    }

    public void setCmt(ShopMaintain cmt) {
        this.cmt = cmt;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPartsName() {
        return partsName;
    }

    public void setPartsName(String partsName) {
        this.partsName = partsName;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getProposer() {
        return proposer;
    }

    public void setProposer(String proposer) {
        this.proposer = proposer;
    }

    public Integer getCarId() {
        return carId;
    }

    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Apply() {
    }

    public Apply(Integer id, String partsName, Date time, String proposer, Integer carId, Integer state) {
        this.id = id;
        this.partsName = partsName;
        this.time = time;
        this.proposer = proposer;
        this.carId = carId;
        this.state = state;
    }

    @Override
    public String toString() {
        return "Apply{" +
                "id=" + id +
                ", partsName='" + partsName + '\'' +
                ", time=" + time +
                ", proposer='" + proposer + '\'' +
                ", carId=" + carId +
                ", state=" + state +
                ", cmt=" + cmt +
                '}';
    }
}
